package com.faxsun.controller.uc.entity;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 第三方帐户具体处理类的接口
 * @author Xinyin.Xiao
 *
 */
public abstract class ThirdPartyLoginAbs {
	protected static final String HOME = "redirect:/";

	public abstract ThirdPartyObj get3rdObj(HttpServletRequest request,
			HttpServletResponse response, String channel, String path);

	public abstract String login(ThirdPartyObj obj);

	public abstract void ResponseURL(HttpServletRequest request,
			HttpServletResponse response);

	/**
	 * 第三方帐户绑定请求的跳转url，需要跳转到第三方进行验证。此方法拼接验证成功的回调url
	 * @param request
	 * @param response
	 */
	public void bindRequestUrl(HttpServletRequest request,HttpServletResponse response){
		
	};
	

}
